<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8" />
  <title>bn::blending namespace | Butano Docs</title>
  <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400i,600,600i%7CSource+Code+Pro:400,400i,600" />
  <link rel="stylesheet" href="m-dark+documentation.compiled.css" />
  <link rel="icon" href="favicon-dark.png" type="image/png" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <meta name="theme-color" content="#22272e" />
</head>
<body>
<header><nav id="navigation">
  <div class="m-container">
    <div class="m-row">
      <span id="m-navbar-brand" class="m-col-t-8 m-col-m-none m-left-m">
        <a href="https://github.com/GValiente/butano">Butano</a> <span class="m-breadcrumb">|</span> <a href="index.html" class="m-thin">Docs</a>
      </span>
      <div class="m-col-t-4 m-hide-m m-text-right m-nopadr">
        <a href="#search" class="m-doc-search-icon" title="Search" onclick="return showSearch()"><svg style="height: 0.9rem;" viewBox="0 0 16 16">
          <path id="m-doc-search-icon-path" d="m6 0c-3.31 0-6 2.69-6 6 0 3.31 2.69 6 6 6 1.49 0 2.85-0.541 3.89-1.44-0.0164 0.338 0.147 0.759 0.5 1.15l3.22 3.79c0.552 0.614 1.45 0.665 2 0.115 0.55-0.55 0.499-1.45-0.115-2l-3.79-3.22c-0.392-0.353-0.812-0.515-1.15-0.5 0.895-1.05 1.44-2.41 1.44-3.89 0-3.31-2.69-6-6-6zm0 1.56a4.44 4.44 0 0 1 4.44 4.44 4.44 4.44 0 0 1-4.44 4.44 4.44 4.44 0 0 1-4.44-4.44 4.44 4.44 0 0 1 4.44-4.44z"/>
        </svg></a>
        <a id="m-navbar-show" href="#navigation" title="Show navigation"></a>
        <a id="m-navbar-hide" href="#" title="Hide navigation"></a>
      </div>
      <div id="m-navbar-collapse" class="m-col-t-12 m-show-m m-col-m-none m-right-m">
        <div class="m-row">
          <ol class="m-col-t-6 m-col-m-none">
            <li><a href="pages.html">Pages</a></li>
            <li><a href="modules.html">Modules</a></li>
          </ol>
          <ol class="m-col-t-6 m-col-m-none" start="3">
            <li><a href="namespaces.html">Namespaces</a></li>
            <li><a href="annotated.html">Classes</a></li>
            <li><a href="files.html">Files</a></li>
            <li class="m-show-m"><a href="#search" class="m-doc-search-icon" title="Search" onclick="return showSearch()"><svg style="height: 0.9rem;" viewBox="0 0 16 16">
              <use href="#m-doc-search-icon-path" />
            </svg></a></li>
          </ol>
        </div>
      </div>
    </div>
  </div>
</nav></header>
<main><article>
  <div class="m-container m-container-inflatable">
    <div class="m-row">
      <div class="m-col-l-10 m-push-l-1">
        <h1>
          <span class="m-breadcrumb"><a href="namespacebn.html">bn</a>::<wbr/></span>blending <span class="m-thin">namespace</span>
          <div class="m-doc-include m-code m-inverted m-text-right"><span class="cp">#include</span> <a class="cpf" href="bn__blending_8h.html">&lt;bn_blending.h&gt;</a></div>
        </h1>
        <p>Blending related functions.</p>
        <nav class="m-block m-default">
          <h3>Contents</h3>
          <ul>
            <li>
              Reference
              <ul>
                <li><a href="#enum-members">Enums</a></li>
                <li><a href="#func-members">Functions</a></li>
              </ul>
            </li>
          </ul>
        </nav>
        <section id="enum-members">
          <h2><a href="#enum-members">Enums</a></h2>
          <dl class="m-doc">
            <dt>
              <span class="m-doc-wrap-bumper">enum class <a href="#a3aa61c8230e71894f8a39d2052bfa096" class="m-doc">fade_color_type</a>: uint8_t { </span><span class="m-doc-wrap"><a href="#a3aa61c8230e71894f8a39d2052bfa096a08d0012388564e95c3b4a7407cf04965" class="m-doc">BLACK</a>,
              <a href="#a3aa61c8230e71894f8a39d2052bfa096ab5bf627e448384cf3a4c35121ca6008d" class="m-doc">WHITE</a> }</span>
            </dt>
            <dd>Available fade colors.</dd>
          </dl>
        </section>
        <section id="func-members">
          <h2><a href="#func-members">Functions</a></h2>
          <dl class="m-doc">
            <dt id="acc8673a9f46d3c2ad5c3b4b16dcc1938">
              <span class="m-doc-wrap-bumper">auto <a href="#acc8673a9f46d3c2ad5c3b4b16dcc1938" class="m-doc-self">transparency_alpha</a>(</span><span class="m-doc-wrap">) -&gt; <a href="namespacebn.html#a0de0484a51e353c5b48db21590f4dfc9" class="m-doc">fixed</a></span>
            </dt>
            <dd>Returns the weight of the transparency blending, with 0 being fully transparent and 1 being fully visible.</dd>
            <dt>
              <span class="m-doc-wrap-bumper">void <a href="#a260282df55e9d15b0cdbf8a9dcc5a9c5" class="m-doc">set_transparency_alpha</a>(</span><span class="m-doc-wrap"><a href="namespacebn.html#a0de0484a51e353c5b48db21590f4dfc9" class="m-doc">fixed</a> transparency_alpha)</span>
            </dt>
            <dd>Sets the weight of the transparency blending, with 0 being fully transparent and 1 being fully visible.</dd>
            <dt id="acf42e8ffd05828e18595971f1d24e9eb">
              <span class="m-doc-wrap-bumper">auto <a href="#acf42e8ffd05828e18595971f1d24e9eb" class="m-doc-self">intensity_alpha</a>(</span><span class="m-doc-wrap">) -&gt; <a href="namespacebn.html#a0de0484a51e353c5b48db21590f4dfc9" class="m-doc">fixed</a></span>
            </dt>
            <dd>Returns the weight of the intensity blending, with 0 being disabled and 1 being fully applied.</dd>
            <dt>
              <span class="m-doc-wrap-bumper">void <a href="#a61dcff5f9f66c2ff63c311664ab73f07" class="m-doc">set_intensity_alpha</a>(</span><span class="m-doc-wrap"><a href="namespacebn.html#a0de0484a51e353c5b48db21590f4dfc9" class="m-doc">fixed</a> intensity_alpha)</span>
            </dt>
            <dd>Sets the weight of the intensity blending, with 0 being disabled and 1 being fully applied.</dd>
            <dt>
              <span class="m-doc-wrap-bumper">void <a href="#a157a4e086bfdd58dbca2af452f49f877" class="m-doc">set_transparency_and_intensity_alpha</a>(</span><span class="m-doc-wrap"><a href="namespacebn.html#a0de0484a51e353c5b48db21590f4dfc9" class="m-doc">fixed</a> transparency_alpha,
              <a href="namespacebn.html#a0de0484a51e353c5b48db21590f4dfc9" class="m-doc">fixed</a> intensity_alpha)</span>
            </dt>
            <dd>Sets the weights of the transparency and the intensity blendings.</dd>
            <dt id="a1d19b78b19ee37392fdc2319cec5094d">
              <span class="m-doc-wrap-bumper">auto <a href="#a1d19b78b19ee37392fdc2319cec5094d" class="m-doc-self">transparency_top_weight</a>(</span><span class="m-doc-wrap">) -&gt; <a href="namespacebn.html#a0de0484a51e353c5b48db21590f4dfc9" class="m-doc">fixed</a></span>
            </dt>
            <dd>Returns the weight of the transparency blending for the top layer, with 0 being fully transparent and 1 being fully visible.</dd>
            <dt>
              <span class="m-doc-wrap-bumper">void <a href="#a0f43983f1249a284593362f89b0560dd" class="m-doc">set_transparency_top_weight</a>(</span><span class="m-doc-wrap"><a href="namespacebn.html#a0de0484a51e353c5b48db21590f4dfc9" class="m-doc">fixed</a> transparency_top_weight)</span>
            </dt>
            <dd>Sets the weight of the transparency blending for the top layer, with 0 being fully transparent and 1 being fully visible.</dd>
            <dt id="ac9143167a5641b3285d10b05366ab012">
              <span class="m-doc-wrap-bumper">auto <a href="#ac9143167a5641b3285d10b05366ab012" class="m-doc-self">transparency_bottom_weight</a>(</span><span class="m-doc-wrap">) -&gt; <a href="namespacebn.html#a0de0484a51e353c5b48db21590f4dfc9" class="m-doc">fixed</a></span>
            </dt>
            <dd>Returns the weight of the transparency blending for the bottom layer, with 0 being fully transparent and 1 being fully visible.</dd>
            <dt>
              <span class="m-doc-wrap-bumper">void <a href="#a9884d846a416eda4e30bad11912cbe37" class="m-doc">set_transparency_bottom_weight</a>(</span><span class="m-doc-wrap"><a href="namespacebn.html#a0de0484a51e353c5b48db21590f4dfc9" class="m-doc">fixed</a> transparency_bottom_weight)</span>
            </dt>
            <dd>Sets the weight of the transparency blending for the bottom layer, with 0 being fully transparent and 1 being fully visible.</dd>
            <dt>
              <span class="m-doc-wrap-bumper">void <a href="#a42886a96250df2776f8136056620d4ff" class="m-doc">set_transparency_weights</a>(</span><span class="m-doc-wrap"><a href="namespacebn.html#a0de0484a51e353c5b48db21590f4dfc9" class="m-doc">fixed</a> transparency_top_weight,
              <a href="namespacebn.html#a0de0484a51e353c5b48db21590f4dfc9" class="m-doc">fixed</a> transparency_bottom_weight)</span>
            </dt>
            <dd>Sets the weights of the transparency blending, with 0 being fully transparent and 1 being fully visible.</dd>
            <dt id="afd5f65fab1e477f3f0c849a1cae0d9b8">
              <span class="m-doc-wrap-bumper">auto <a href="#afd5f65fab1e477f3f0c849a1cae0d9b8" class="m-doc-self">transparency_attributes</a>(</span><span class="m-doc-wrap">) -&gt; <a href="classbn_1_1blending__transparency__attributes.html" class="m-doc">blending_<wbr />transparency_<wbr />attributes</a></span>
            </dt>
            <dd>Returns the attributes to commit to the GBA transparency and intensity blending register.</dd>
            <dt id="a48148bc7623a68ff868a29712b9e182a">
              <span class="m-doc-wrap-bumper">void <a href="#a48148bc7623a68ff868a29712b9e182a" class="m-doc-self">set_transparency_attributes</a>(</span><span class="m-doc-wrap">const <a href="classbn_1_1blending__transparency__attributes.html" class="m-doc">blending_<wbr />transparency_<wbr />attributes</a>&amp; transparency_attributes)</span>
            </dt>
            <dd>Sets the attributes to commit to the GBA transparency and intensity blending register.</dd>
            <dt id="a37377dc7f7eef43a27b85eebc4be93cb">
              <span class="m-doc-wrap-bumper">auto <a href="#a37377dc7f7eef43a27b85eebc4be93cb" class="m-doc-self">fade_color</a>(</span><span class="m-doc-wrap">) -&gt; <a href="#a3aa61c8230e71894f8a39d2052bfa096" class="m-doc">fade_<wbr />color_<wbr />type</a></span>
            </dt>
            <dd>Returns the color used for fade blending.</dd>
            <dt id="af2b664aab98b663dc47182e3cf281b86">
              <span class="m-doc-wrap-bumper">void <a href="#af2b664aab98b663dc47182e3cf281b86" class="m-doc-self">set_fade_color</a>(</span><span class="m-doc-wrap"><a href="#a3aa61c8230e71894f8a39d2052bfa096" class="m-doc">fade_<wbr />color_<wbr />type</a> fade_color)</span>
            </dt>
            <dd>Sets the color used for fade blending.</dd>
            <dt id="ac01129c3e46bb6fa64ecb2427a14d45b">
              <span class="m-doc-wrap-bumper">void <a href="#ac01129c3e46bb6fa64ecb2427a14d45b" class="m-doc-self">set_black_fade_color</a>(</span><span class="m-doc-wrap">)</span>
            </dt>
            <dd>Sets black as the color used for fade blending.</dd>
            <dt id="a50a458b8088f4caa45843ec3f2b679d1">
              <span class="m-doc-wrap-bumper">void <a href="#a50a458b8088f4caa45843ec3f2b679d1" class="m-doc-self">set_white_fade_color</a>(</span><span class="m-doc-wrap">)</span>
            </dt>
            <dd>Sets white as the color used for fade blending.</dd>
            <dt id="aa9aa4f5296977651a6138d801a702350">
              <span class="m-doc-wrap-bumper">auto <a href="#aa9aa4f5296977651a6138d801a702350" class="m-doc-self">fade_alpha</a>(</span><span class="m-doc-wrap">) -&gt; <a href="namespacebn.html#a0de0484a51e353c5b48db21590f4dfc9" class="m-doc">fixed</a></span>
            </dt>
            <dd>Returns the weight of the fade blending, with 0 being disabled and 1 being fully applied.</dd>
            <dt>
              <span class="m-doc-wrap-bumper">void <a href="#a8e413c709cba47dc4303cf336c3d8528" class="m-doc">set_fade_alpha</a>(</span><span class="m-doc-wrap"><a href="namespacebn.html#a0de0484a51e353c5b48db21590f4dfc9" class="m-doc">fixed</a> fade_alpha)</span>
            </dt>
            <dd>Sets the weight of the fade blending, with 0 being disabled and 1 being fully applied.</dd>
            <dt>
              <span class="m-doc-wrap-bumper">void <a href="#a1a02eee0e27e62cd1643169589190233" class="m-doc">set_fade_alpha</a>(</span><span class="m-doc-wrap"><a href="classbn_1_1blending__fade__alpha.html" class="m-doc">blending_<wbr />fade_<wbr />alpha</a> fade_alpha)</span>
            </dt>
            <dd>Sets the weight of the fade blending, with 0 being disabled and 1 being fully applied.</dd>
            <dt id="add696a7d99f37f54057c71d00d6351b8">
              <span class="m-doc-wrap-bumper">void <a href="#add696a7d99f37f54057c71d00d6351b8" class="m-doc-self">restore</a>(</span><span class="m-doc-wrap">)</span>
            </dt>
            <dd>Restores blending to its initial state.</dd>
          </dl>
        </section>
        <section>
          <h2>Enum documentation</h2>
          <section class="m-doc-details" id="a3aa61c8230e71894f8a39d2052bfa096"><div>
            <h3>
              enum class bn::<wbr />blending::<wbr /><a href="#a3aa61c8230e71894f8a39d2052bfa096" class="m-doc-self">fade_color_type</a>: uint8_t
            </h3>
            <p>Available fade colors.</p>
            <table class="m-table m-fullwidth m-flat m-doc">
              <thead><tr><th style="width: 1%">Enumerators</th><th></th></tr></thead>
              <tbody>
                <tr>
                  <td><a href="#a3aa61c8230e71894f8a39d2052bfa096a08d0012388564e95c3b4a7407cf04965" class="m-doc-self" id="a3aa61c8230e71894f8a39d2052bfa096a08d0012388564e95c3b4a7407cf04965">BLACK</a></td>
                  <td>
                  <p>Black fade color.</p>
                  </td>
                </tr>
                <tr>
                  <td><a href="#a3aa61c8230e71894f8a39d2052bfa096ab5bf627e448384cf3a4c35121ca6008d" class="m-doc-self" id="a3aa61c8230e71894f8a39d2052bfa096ab5bf627e448384cf3a4c35121ca6008d">WHITE</a></td>
                  <td>
                  <p>White fade color.</p>
                  </td>
                </tr>
              </tbody>
            </table>
          </div></section>
        </section>
        <section>
          <h2>Function documentation</h2>
          <section class="m-doc-details" id="a260282df55e9d15b0cdbf8a9dcc5a9c5"><div>
            <h3>
              <span class="m-doc-wrap-bumper">void bn::<wbr />blending::<wbr /></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a href="#a260282df55e9d15b0cdbf8a9dcc5a9c5" class="m-doc-self">set_transparency_alpha</a>(</span><span class="m-doc-wrap"><a href="namespacebn.html#a0de0484a51e353c5b48db21590f4dfc9" class="m-doc">fixed</a> transparency_alpha)</span></span>
            </h3>
            <p>Sets the weight of the transparency blending, with 0 being fully transparent and 1 being fully visible.</p>
            <table class="m-table m-fullwidth m-flat">
              <thead>
                <tr><th colspan="2">Parameters</th></tr>
              </thead>
              <tbody>
                <tr>
                  <td style="width: 1%">transparency_alpha</td>
                  <td>Transparency weight in the range [0..1].</td>
                </tr>
              </tbody>
            </table>
<p>Keep in mind that transparency and fade blendings can&#x27;t be enabled at the same time.</p>
          </div></section>
          <section class="m-doc-details" id="a61dcff5f9f66c2ff63c311664ab73f07"><div>
            <h3>
              <span class="m-doc-wrap-bumper">void bn::<wbr />blending::<wbr /></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a href="#a61dcff5f9f66c2ff63c311664ab73f07" class="m-doc-self">set_intensity_alpha</a>(</span><span class="m-doc-wrap"><a href="namespacebn.html#a0de0484a51e353c5b48db21590f4dfc9" class="m-doc">fixed</a> intensity_alpha)</span></span>
            </h3>
            <p>Sets the weight of the intensity blending, with 0 being disabled and 1 being fully applied.</p>
            <table class="m-table m-fullwidth m-flat">
              <thead>
                <tr><th colspan="2">Parameters</th></tr>
              </thead>
              <tbody>
                <tr>
                  <td style="width: 1%">intensity_alpha</td>
                  <td>Intensity weight in the range [0..1].</td>
                </tr>
              </tbody>
            </table>
<p>Keep in mind that intensity and fade blendings can&#x27;t be enabled at the same time.</p>
          </div></section>
          <section class="m-doc-details" id="a157a4e086bfdd58dbca2af452f49f877"><div>
            <h3>
              <span class="m-doc-wrap-bumper">void bn::<wbr />blending::<wbr /></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a href="#a157a4e086bfdd58dbca2af452f49f877" class="m-doc-self">set_transparency_and_intensity_alpha</a>(</span><span class="m-doc-wrap"><a href="namespacebn.html#a0de0484a51e353c5b48db21590f4dfc9" class="m-doc">fixed</a> transparency_alpha,
              <a href="namespacebn.html#a0de0484a51e353c5b48db21590f4dfc9" class="m-doc">fixed</a> intensity_alpha)</span></span>
            </h3>
            <p>Sets the weights of the transparency and the intensity blendings.</p>
            <table class="m-table m-fullwidth m-flat">
              <thead>
                <tr><th colspan="2">Parameters</th></tr>
              </thead>
              <tbody>
                <tr>
                  <td style="width: 1%">transparency_alpha</td>
                  <td>Transparency weight in the range [0..1], with 0 being fully transparent and 1 being fully visible.</td>
                </tr>
                <tr>
                  <td>intensity_alpha</td>
                  <td>Intensity weight in the range [0..1], with 0 being disabled and 1 being fully applied.</td>
                </tr>
              </tbody>
            </table>
<p>Keep in mind that transparency and fade blendings can&#x27;t be enabled at the same time.</p>
          </div></section>
          <section class="m-doc-details" id="a0f43983f1249a284593362f89b0560dd"><div>
            <h3>
              <span class="m-doc-wrap-bumper">void bn::<wbr />blending::<wbr /></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a href="#a0f43983f1249a284593362f89b0560dd" class="m-doc-self">set_transparency_top_weight</a>(</span><span class="m-doc-wrap"><a href="namespacebn.html#a0de0484a51e353c5b48db21590f4dfc9" class="m-doc">fixed</a> transparency_top_weight)</span></span>
            </h3>
            <p>Sets the weight of the transparency blending for the top layer, with 0 being fully transparent and 1 being fully visible.</p>
            <table class="m-table m-fullwidth m-flat">
              <thead>
                <tr><th colspan="2">Parameters</th></tr>
              </thead>
              <tbody>
                <tr>
                  <td style="width: 1%">transparency_top_weight</td>
                  <td>Transparency weight in the range [0..1].</td>
                </tr>
              </tbody>
            </table>
<p>Keep in mind that transparency and fade blendings can&#x27;t be enabled at the same time.</p>
          </div></section>
          <section class="m-doc-details" id="a9884d846a416eda4e30bad11912cbe37"><div>
            <h3>
              <span class="m-doc-wrap-bumper">void bn::<wbr />blending::<wbr /></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a href="#a9884d846a416eda4e30bad11912cbe37" class="m-doc-self">set_transparency_bottom_weight</a>(</span><span class="m-doc-wrap"><a href="namespacebn.html#a0de0484a51e353c5b48db21590f4dfc9" class="m-doc">fixed</a> transparency_bottom_weight)</span></span>
            </h3>
            <p>Sets the weight of the transparency blending for the bottom layer, with 0 being fully transparent and 1 being fully visible.</p>
            <table class="m-table m-fullwidth m-flat">
              <thead>
                <tr><th colspan="2">Parameters</th></tr>
              </thead>
              <tbody>
                <tr>
                  <td style="width: 1%">transparency_bottom_weight</td>
                  <td>Transparency weight in the range [0..1].</td>
                </tr>
              </tbody>
            </table>
<p>Keep in mind that transparency and fade blendings can&#x27;t be enabled at the same time.</p>
          </div></section>
          <section class="m-doc-details" id="a42886a96250df2776f8136056620d4ff"><div>
            <h3>
              <span class="m-doc-wrap-bumper">void bn::<wbr />blending::<wbr /></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a href="#a42886a96250df2776f8136056620d4ff" class="m-doc-self">set_transparency_weights</a>(</span><span class="m-doc-wrap"><a href="namespacebn.html#a0de0484a51e353c5b48db21590f4dfc9" class="m-doc">fixed</a> transparency_top_weight,
              <a href="namespacebn.html#a0de0484a51e353c5b48db21590f4dfc9" class="m-doc">fixed</a> transparency_bottom_weight)</span></span>
            </h3>
            <p>Sets the weights of the transparency blending, with 0 being fully transparent and 1 being fully visible.</p>
            <table class="m-table m-fullwidth m-flat">
              <thead>
                <tr><th colspan="2">Parameters</th></tr>
              </thead>
              <tbody>
                <tr>
                  <td style="width: 1%">transparency_top_weight</td>
                  <td>Transparency weight in the range [0..1].</td>
                </tr>
                <tr>
                  <td>transparency_bottom_weight</td>
                  <td>Transparency weight in the range [0..1].</td>
                </tr>
              </tbody>
            </table>
<p>Keep in mind that transparency and fade blendings can&#x27;t be enabled at the same time.</p>
          </div></section>
          <section class="m-doc-details" id="a8e413c709cba47dc4303cf336c3d8528"><div>
            <h3>
              <span class="m-doc-wrap-bumper">void bn::<wbr />blending::<wbr /></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a href="#a8e413c709cba47dc4303cf336c3d8528" class="m-doc-self">set_fade_alpha</a>(</span><span class="m-doc-wrap"><a href="namespacebn.html#a0de0484a51e353c5b48db21590f4dfc9" class="m-doc">fixed</a> fade_alpha)</span></span>
            </h3>
            <p>Sets the weight of the fade blending, with 0 being disabled and 1 being fully applied.</p>
            <table class="m-table m-fullwidth m-flat">
              <thead>
                <tr><th colspan="2">Parameters</th></tr>
              </thead>
              <tbody>
                <tr>
                  <td style="width: 1%">fade_alpha</td>
                  <td>Fade weight in the range [0..1].</td>
                </tr>
              </tbody>
            </table>
<p>Keep in mind that fade blending and other blendings can&#x27;t be enabled at the same time.</p>
          </div></section>
          <section class="m-doc-details" id="a1a02eee0e27e62cd1643169589190233"><div>
            <h3>
              <span class="m-doc-wrap-bumper">void bn::<wbr />blending::<wbr /></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a href="#a1a02eee0e27e62cd1643169589190233" class="m-doc-self">set_fade_alpha</a>(</span><span class="m-doc-wrap"><a href="classbn_1_1blending__fade__alpha.html" class="m-doc">blending_<wbr />fade_<wbr />alpha</a> fade_alpha)</span></span>
            </h3>
            <p>Sets the weight of the fade blending, with 0 being disabled and 1 being fully applied.</p>
            <table class="m-table m-fullwidth m-flat">
              <thead>
                <tr><th colspan="2">Parameters</th></tr>
              </thead>
              <tbody>
                <tr>
                  <td style="width: 1%">fade_alpha</td>
                  <td><a href="classbn_1_1blending__fade__alpha.html" class="m-doc">blending_<wbr />fade_<wbr />alpha</a> to set.</td>
                </tr>
              </tbody>
            </table>
<p>Keep in mind that fade blending and other blendings can&#x27;t be enabled at the same time.</p>
          </div></section>
        </section>
      </div>
    </div>
  </div>
</article></main>
<div class="m-doc-search" id="search">
  <a href="#!" onclick="return hideSearch()"></a>
  <div class="m-container">
    <div class="m-row">
      <div class="m-col-m-8 m-push-m-2">
        <div class="m-doc-search-header m-text m-small">
          <div><span class="m-label m-default">Tab</span> / <span class="m-label m-default">T</span> to search, <span class="m-label m-default">Esc</span> to close</div>
          <div id="search-symbolcount">&hellip;</div>
        </div>
        <div class="m-doc-search-content">
          <form>
            <input type="search" name="q" id="search-input" placeholder="Loading &hellip;" disabled="disabled" autofocus="autofocus" autocomplete="off" spellcheck="false" />
          </form>
          <noscript class="m-text m-danger m-text-center">Unlike everything else in the docs, the search functionality <em>requires</em> JavaScript.</noscript>
          <div id="search-help" class="m-text m-dim m-text-center">
            <p class="m-noindent">Search for symbols, directories, files, pages or
            modules. You can omit any prefix from the symbol or file path; adding a
            <code>:</code> or <code>/</code> suffix lists all members of given symbol or
            directory.</p>
            <p class="m-noindent">Use <span class="m-label m-dim">&darr;</span>
            / <span class="m-label m-dim">&uarr;</span> to navigate through the list,
            <span class="m-label m-dim">Enter</span> to go.
            <span class="m-label m-dim">Tab</span> autocompletes common prefix, you can
            copy a link to the result using <span class="m-label m-dim">⌘</span>
            <span class="m-label m-dim">L</span> while <span class="m-label m-dim">⌘</span>
            <span class="m-label m-dim">M</span> produces a Markdown link.</p>
          </div>
          <div id="search-notfound" class="m-text m-warning m-text-center">Sorry, nothing was found.</div>
          <ul id="search-results"></ul>
        </div>
      </div>
    </div>
  </div>
</div>
<script src="search-v2.js"></script>
<script src="searchdata-v2.js" async="async"></script>
<footer><nav>
  <div class="m-container">
    <div class="m-row">
      <div class="m-col-l-10 m-push-l-1">
        <p>Butano Docs. Created with <a href="https://doxygen.org/">Doxygen</a> 1.14.0 and <a href="https://mcss.mosra.cz/">m.css</a>.</p>
      </div>
    </div>
  </div>
</nav></footer>
</body>
</html>
